package net.hn.hnms.biz.safety.trinity.dao;

import net.hn.hnms.biz.safety.trinity.entity.RiskControlMeasureEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/10
 */
@Repository
public interface RiskControlMeasureDao extends JpaRepository<RiskControlMeasureEntity,String> {

    List<RiskControlMeasureEntity> findAllByRiskId(String riskId);
}
